package it.gat.dao;

import java.sql.SQLException;
import java.util.List;

import it.gat.model.*;

public interface ContrattoDAO {
	
	public void insert(Contratto contratto,int idCliente) throws SQLException;
	
	public Contratto retriveById(int id) throws SQLException;
	
	public List<Contratto> retrieveByIdCliente(int idcliente) throws SQLException;
	
	public List<Contratto> retrieveAll() throws SQLException;
	
	public void update(Contratto contratto) throws SQLException;
	
	public void delete(int idContratto) throws SQLException;

}
